/*
 * Copyright (c) Scrap Material Junior Brother, Xin. 2023-2023. All rights reserved.
 */

package collection.sort;

/**
 * 带有名字和年龄的人
 *
 * @author xin
 * @since 2023-05-02
 */
public class Person {
    private String name;
    Integer age;
    Person(String name, Integer age){
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
